package com.roy.galaxy.interviews;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

/**
 * @author gang.wang1903@xiaobao100.cn
 * @Date: 2019-10-10 13:52
 */
public class ShortSet {


    public static void main(String[] args) {

        Set<Short> set = new HashSet<>();
        for(short i = 0 ; i < 100 ; i ++){
            set.add(i);
            System.out.print(i-1);
            set.remove(i-1);
        }

        System.out.print(set.size());
    }
}
